import { ref } from 'vue';
import { defineStore } from 'pinia';

export const globalStatus = defineStore('global', () => {
  const intoBulidingFlag  = ref(false);
  const setBuildingFlag  = () => {
    intoBulidingFlag.value = !intoBulidingFlag.value;
  };


  return { intoBulidingFlag,setBuildingFlag };
});
